API Documentation
Static Public Member Functions | List of all members
nkGraphics::HashHelper Class Referencefinal

Utility class helping to create hashes. More...

Static Public Member Functions

static unsigned long long combine (unsigned long long hash0, unsigned long long hash1)
 
template<typename T >
static unsigned long long combine (unsigned long long hash0, T number1)
 

Detailed Description

Utility class helping to create hashes.

Member Function Documentation

◆ combine() [1/2]

static unsigned long long nkGraphics::HashHelper::combine ( unsigned long long  hash0,
unsigned long long  hash1 
)
static

Combines two hashes into another one.

Parameters
hash0The base hash to combine.
hash1The second hash to combine.
Returns
Both hash combined into one.

◆ combine() [2/2]

template<typename T >
static unsigned long long nkGraphics::HashHelper::combine ( unsigned long long  hash0,
number1 
)
static

Combines two hashes into another one. This template is meant to help combining different type of data.

Parameters
hash0The base hash to combine.
number1The other number to combine.
Returns
Both hash combined into one.

The documentation for this class was generated from the following file: